0 JBC
↳1 JBC2FIG (⇒)
↳2 JBCTerminationGraph
↳3 FIGtoITRSProof (⇒)
↳4 IDP
↳5 IDPNonInfProof (⇒)
↳6 AND
↳7 IDP
↳8 IDependencyGraphProof (⇔)
↳9 IDP
↳10 IDPNonInfProof (⇒)
↳11 IDP
↳12 IDependencyGraphProof (⇔)
↳13 TRUE
↳14 IDP
↳15 IDependencyGraphProof (⇔)
↳16 IDP
↳17 IDPNonInfProof (⇒)
↳18 AND
↳19 IDP
↳20 IDependencyGraphProof (⇔)
↳21 TRUE
↳22 IDP
↳23 IDependencyGraphProof (⇔)
↳24 TRUE
/**
* Example taken from "A Term Rewriting Approach to the Automated Termination
* Analysis of Imperative Programs" (http://www.cs.unm.edu/~spf/papers/2009-02.pdf)
* and converted to Java.
*/
public class PastaB17 {
public static void main(String[] args) {
Random.args = args;
int x = Random.random();
int y = Random.random();
int z = Random.random();
while (x > z) {
while (y > z) {
y--;
}
x--;
}
}
}
public class Random {
static String[] args;
static int index = 0;
public static int random() {
String string = args[index];
index++;
return string.length();
}
}
Generated 16 rules for P and 2 rules for R.
Combined rules. Obtained 2 rules for P and 0 rules for R.
Filtered ground terms:
1262_0_main_LE(x1, x2, x3, x4, x5, x6) → 1262_0_main_LE(x2, x3, x4, x5, x6)
Cond_1262_0_main_LE1(x1, x2, x3, x4, x5, x6, x7) → Cond_1262_0_main_LE1(x1, x3, x4, x5, x6, x7)
Cond_1262_0_main_LE(x1, x2, x3, x4, x5, x6, x7) → Cond_1262_0_main_LE(x1, x3, x4, x5, x6, x7)
Filtered duplicate args:
1262_0_main_LE(x1, x2, x3, x4, x5) → 1262_0_main_LE(x1, x4, x5)
Cond_1262_0_main_LE1(x1, x2, x3, x4, x5, x6) → Cond_1262_0_main_LE1(x1, x2, x5, x6)
Cond_1262_0_main_LE(x1, x2, x3, x4, x5, x6) → Cond_1262_0_main_LE(x1, x2, x5, x6)
Combined rules. Obtained 2 rules for P and 0 rules for R.
Finished conversion. Obtained 2 rules for P and 0 rules for R. System has predefined symbols.
!= | ~ | Neq: (Integer, Integer) -> Boolean |
* | ~ | Mul: (Integer, Integer) -> Integer |
>= | ~ | Ge: (Integer, Integer) -> Boolean |
-1 | ~ | UnaryMinus: (Integer) -> Integer |
| | ~ | Bwor: (Integer, Integer) -> Integer |
/ | ~ | Div: (Integer, Integer) -> Integer |
= | ~ | Eq: (Integer, Integer) -> Boolean |
~ | Bwxor: (Integer, Integer) -> Integer | |
|| | ~ | Lor: (Boolean, Boolean) -> Boolean |
! | ~ | Lnot: (Boolean) -> Boolean |
< | ~ | Lt: (Integer, Integer) -> Boolean |
- | ~ | Sub: (Integer, Integer) -> Integer |
<= | ~ | Le: (Integer, Integer) -> Boolean |
> | ~ | Gt: (Integer, Integer) -> Boolean |
~ | ~ | Bwnot: (Integer) -> Integer |
% | ~ | Mod: (Integer, Integer) -> Integer |
& | ~ | Bwand: (Integer, Integer) -> Integer |
+ | ~ | Add: (Integer, Integer) -> Integer |
&& | ~ | Land: (Boolean, Boolean) -> Boolean |
Boolean, Integer
(0) -> (1), if ((x2[0] >= x1[0] && x2[0] < x0[0] + -1 →* TRUE)∧(x0[0] →* x0[1])∧(x1[0] →* x1[1])∧(x2[0] →* x2[1]))
(1) -> (0), if ((x0[1] + -1 →* x0[0])∧(x1[1] →* x1[0])∧(x2[1] →* x2[0]))
(1) -> (2), if ((x0[1] + -1 →* x0[2])∧(x1[1] →* x1[2])∧(x2[1] →* x2[2]))
(2) -> (3), if ((x2[2] < x1[2] →* TRUE)∧(x0[2] →* x0[3])∧(x1[2] →* x1[3])∧(x2[2] →* x2[3]))
(3) -> (0), if ((x0[3] →* x0[0])∧(x1[3] + -1 →* x1[0])∧(x2[3] →* x2[0]))
(3) -> (2), if ((x0[3] →* x0[2])∧(x1[3] + -1 →* x1[2])∧(x2[3] →* x2[2]))
(1) (&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1)))=TRUE∧x0[0]=x0[1]∧x1[0]=x1[1]∧x2[0]=x2[1] ⇒ 1262_0_MAIN_LE(x0[0], x1[0], x2[0])≥NonInfC∧1262_0_MAIN_LE(x0[0], x1[0], x2[0])≥COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])∧(UIncreasing(COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])), ≥))
(2) (>=(x2[0], x1[0])=TRUE∧<(x2[0], +(x0[0], -1))=TRUE ⇒ 1262_0_MAIN_LE(x0[0], x1[0], x2[0])≥NonInfC∧1262_0_MAIN_LE(x0[0], x1[0], x2[0])≥COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])∧(UIncreasing(COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])), ≥))
(3) (x2[0] + [-1]x1[0] ≥ 0∧x0[0] + [-2] + [-1]x2[0] ≥ 0 ⇒ (UIncreasing(COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])), ≥)∧[(-1)bni_12 + (-1)Bound*bni_12] + [(-1)bni_12]x2[0] + [bni_12]x1[0] ≥ 0∧[(-1)bso_13] ≥ 0)
(4) (x2[0] + [-1]x1[0] ≥ 0∧x0[0] + [-2] + [-1]x2[0] ≥ 0 ⇒ (UIncreasing(COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])), ≥)∧[(-1)bni_12 + (-1)Bound*bni_12] + [(-1)bni_12]x2[0] + [bni_12]x1[0] ≥ 0∧[(-1)bso_13] ≥ 0)
(5) (x2[0] + [-1]x1[0] ≥ 0∧x0[0] + [-2] + [-1]x2[0] ≥ 0 ⇒ (UIncreasing(COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])), ≥)∧[(-1)bni_12 + (-1)Bound*bni_12] + [(-1)bni_12]x2[0] + [bni_12]x1[0] ≥ 0∧[(-1)bso_13] ≥ 0)
(6) (x2[0] ≥ 0∧x0[0] + [-2] + [-1]x1[0] + [-1]x2[0] ≥ 0 ⇒ (UIncreasing(COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])), ≥)∧[(-1)bni_12 + (-1)Bound*bni_12] + [(-1)bni_12]x2[0] ≥ 0∧[(-1)bso_13] ≥ 0)
(7) (x2[0] ≥ 0∧x1[0] ≥ 0 ⇒ (UIncreasing(COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])), ≥)∧[(-1)bni_12 + (-1)Bound*bni_12] + [(-1)bni_12]x2[0] ≥ 0∧[(-1)bso_13] ≥ 0)
(8) (x2[0] ≥ 0∧x1[0] ≥ 0∧x0[0] ≥ 0 ⇒ (UIncreasing(COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])), ≥)∧[(-1)bni_12 + (-1)Bound*bni_12] + [(-1)bni_12]x2[0] ≥ 0∧[(-1)bso_13] ≥ 0)
(9) (x2[0] ≥ 0∧x1[0] ≥ 0∧x0[0] ≥ 0 ⇒ (UIncreasing(COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])), ≥)∧[(-1)bni_12 + (-1)Bound*bni_12] + [(-1)bni_12]x2[0] ≥ 0∧[(-1)bso_13] ≥ 0)
(10) (COND_1262_0_MAIN_LE(TRUE, x0[1], x1[1], x2[1])≥NonInfC∧COND_1262_0_MAIN_LE(TRUE, x0[1], x1[1], x2[1])≥1262_0_MAIN_LE(+(x0[1], -1), x1[1], x2[1])∧(UIncreasing(1262_0_MAIN_LE(+(x0[1], -1), x1[1], x2[1])), ≥))
(11) ((UIncreasing(1262_0_MAIN_LE(+(x0[1], -1), x1[1], x2[1])), ≥)∧[(-1)bso_15] ≥ 0)
(12) ((UIncreasing(1262_0_MAIN_LE(+(x0[1], -1), x1[1], x2[1])), ≥)∧[(-1)bso_15] ≥ 0)
(13) ((UIncreasing(1262_0_MAIN_LE(+(x0[1], -1), x1[1], x2[1])), ≥)∧[(-1)bso_15] ≥ 0)
(14) ((UIncreasing(1262_0_MAIN_LE(+(x0[1], -1), x1[1], x2[1])), ≥)∧0 = 0∧0 = 0∧0 = 0∧[(-1)bso_15] ≥ 0)
(15) (<(x2[2], x1[2])=TRUE∧x0[2]=x0[3]∧x1[2]=x1[3]∧x2[2]=x2[3] ⇒ 1262_0_MAIN_LE(x0[2], x1[2], x2[2])≥NonInfC∧1262_0_MAIN_LE(x0[2], x1[2], x2[2])≥COND_1262_0_MAIN_LE1(<(x2[2], x1[2]), x0[2], x1[2], x2[2])∧(UIncreasing(COND_1262_0_MAIN_LE1(<(x2[2], x1[2]), x0[2], x1[2], x2[2])), ≥))
(16) (<(x2[2], x1[2])=TRUE ⇒ 1262_0_MAIN_LE(x0[2], x1[2], x2[2])≥NonInfC∧1262_0_MAIN_LE(x0[2], x1[2], x2[2])≥COND_1262_0_MAIN_LE1(<(x2[2], x1[2]), x0[2], x1[2], x2[2])∧(UIncreasing(COND_1262_0_MAIN_LE1(<(x2[2], x1[2]), x0[2], x1[2], x2[2])), ≥))
(17) (x1[2] + [-1] + [-1]x2[2] ≥ 0 ⇒ (UIncreasing(COND_1262_0_MAIN_LE1(<(x2[2], x1[2]), x0[2], x1[2], x2[2])), ≥)∧[(-1)bni_16 + (-1)Bound*bni_16] + [(-1)bni_16]x2[2] + [bni_16]x1[2] ≥ 0∧[(-1)bso_17] ≥ 0)
(18) (x1[2] + [-1] + [-1]x2[2] ≥ 0 ⇒ (UIncreasing(COND_1262_0_MAIN_LE1(<(x2[2], x1[2]), x0[2], x1[2], x2[2])), ≥)∧[(-1)bni_16 + (-1)Bound*bni_16] + [(-1)bni_16]x2[2] + [bni_16]x1[2] ≥ 0∧[(-1)bso_17] ≥ 0)
(19) (x1[2] + [-1] + [-1]x2[2] ≥ 0 ⇒ (UIncreasing(COND_1262_0_MAIN_LE1(<(x2[2], x1[2]), x0[2], x1[2], x2[2])), ≥)∧[(-1)bni_16 + (-1)Bound*bni_16] + [(-1)bni_16]x2[2] + [bni_16]x1[2] ≥ 0∧[(-1)bso_17] ≥ 0)
(20) (x1[2] + [-1] + [-1]x2[2] ≥ 0 ⇒ (UIncreasing(COND_1262_0_MAIN_LE1(<(x2[2], x1[2]), x0[2], x1[2], x2[2])), ≥)∧0 = 0∧[(-1)bni_16 + (-1)Bound*bni_16] + [(-1)bni_16]x2[2] + [bni_16]x1[2] ≥ 0∧0 = 0∧[(-1)bso_17] ≥ 0)
(21) (x1[2] ≥ 0 ⇒ (UIncreasing(COND_1262_0_MAIN_LE1(<(x2[2], x1[2]), x0[2], x1[2], x2[2])), ≥)∧0 = 0∧[(-1)Bound*bni_16] + [bni_16]x1[2] ≥ 0∧0 = 0∧[(-1)bso_17] ≥ 0)
(22) (x1[2] ≥ 0∧x2[2] ≥ 0 ⇒ (UIncreasing(COND_1262_0_MAIN_LE1(<(x2[2], x1[2]), x0[2], x1[2], x2[2])), ≥)∧0 = 0∧[(-1)Bound*bni_16] + [bni_16]x1[2] ≥ 0∧0 = 0∧[(-1)bso_17] ≥ 0)
(23) (x1[2] ≥ 0∧x2[2] ≥ 0 ⇒ (UIncreasing(COND_1262_0_MAIN_LE1(<(x2[2], x1[2]), x0[2], x1[2], x2[2])), ≥)∧0 = 0∧[(-1)Bound*bni_16] + [bni_16]x1[2] ≥ 0∧0 = 0∧[(-1)bso_17] ≥ 0)
(24) (COND_1262_0_MAIN_LE1(TRUE, x0[3], x1[3], x2[3])≥NonInfC∧COND_1262_0_MAIN_LE1(TRUE, x0[3], x1[3], x2[3])≥1262_0_MAIN_LE(x0[3], +(x1[3], -1), x2[3])∧(UIncreasing(1262_0_MAIN_LE(x0[3], +(x1[3], -1), x2[3])), ≥))
(25) ((UIncreasing(1262_0_MAIN_LE(x0[3], +(x1[3], -1), x2[3])), ≥)∧[1 + (-1)bso_19] ≥ 0)
(26) ((UIncreasing(1262_0_MAIN_LE(x0[3], +(x1[3], -1), x2[3])), ≥)∧[1 + (-1)bso_19] ≥ 0)
(27) ((UIncreasing(1262_0_MAIN_LE(x0[3], +(x1[3], -1), x2[3])), ≥)∧[1 + (-1)bso_19] ≥ 0)
(28) ((UIncreasing(1262_0_MAIN_LE(x0[3], +(x1[3], -1), x2[3])), ≥)∧0 = 0∧0 = 0∧0 = 0∧[1 + (-1)bso_19] ≥ 0)
POL(TRUE) = 0
POL(FALSE) = 0
POL(1262_0_MAIN_LE(x1, x2, x3)) = [-1] + [-1]x3 + x2
POL(COND_1262_0_MAIN_LE(x1, x2, x3, x4)) = [-1] + [-1]x4 + x3
POL(&&(x1, x2)) = [-1]
POL(>=(x1, x2)) = [-1]
POL(<(x1, x2)) = [-1]
POL(+(x1, x2)) = x1 + x2
POL(-1) = [-1]
POL(COND_1262_0_MAIN_LE1(x1, x2, x3, x4)) = [-1] + [-1]x4 + x3
COND_1262_0_MAIN_LE1(TRUE, x0[3], x1[3], x2[3]) → 1262_0_MAIN_LE(x0[3], +(x1[3], -1), x2[3])
1262_0_MAIN_LE(x0[2], x1[2], x2[2]) → COND_1262_0_MAIN_LE1(<(x2[2], x1[2]), x0[2], x1[2], x2[2])
1262_0_MAIN_LE(x0[0], x1[0], x2[0]) → COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])
COND_1262_0_MAIN_LE(TRUE, x0[1], x1[1], x2[1]) → 1262_0_MAIN_LE(+(x0[1], -1), x1[1], x2[1])
1262_0_MAIN_LE(x0[2], x1[2], x2[2]) → COND_1262_0_MAIN_LE1(<(x2[2], x1[2]), x0[2], x1[2], x2[2])
!= | ~ | Neq: (Integer, Integer) -> Boolean |
* | ~ | Mul: (Integer, Integer) -> Integer |
>= | ~ | Ge: (Integer, Integer) -> Boolean |
-1 | ~ | UnaryMinus: (Integer) -> Integer |
| | ~ | Bwor: (Integer, Integer) -> Integer |
/ | ~ | Div: (Integer, Integer) -> Integer |
= | ~ | Eq: (Integer, Integer) -> Boolean |
~ | Bwxor: (Integer, Integer) -> Integer | |
|| | ~ | Lor: (Boolean, Boolean) -> Boolean |
! | ~ | Lnot: (Boolean) -> Boolean |
< | ~ | Lt: (Integer, Integer) -> Boolean |
- | ~ | Sub: (Integer, Integer) -> Integer |
<= | ~ | Le: (Integer, Integer) -> Boolean |
> | ~ | Gt: (Integer, Integer) -> Boolean |
~ | ~ | Bwnot: (Integer) -> Integer |
% | ~ | Mod: (Integer, Integer) -> Integer |
& | ~ | Bwand: (Integer, Integer) -> Integer |
+ | ~ | Add: (Integer, Integer) -> Integer |
&& | ~ | Land: (Boolean, Boolean) -> Boolean |
Boolean, Integer
(1) -> (0), if ((x0[1] + -1 →* x0[0])∧(x1[1] →* x1[0])∧(x2[1] →* x2[0]))
(0) -> (1), if ((x2[0] >= x1[0] && x2[0] < x0[0] + -1 →* TRUE)∧(x0[0] →* x0[1])∧(x1[0] →* x1[1])∧(x2[0] →* x2[1]))
(1) -> (2), if ((x0[1] + -1 →* x0[2])∧(x1[1] →* x1[2])∧(x2[1] →* x2[2]))
!= | ~ | Neq: (Integer, Integer) -> Boolean |
* | ~ | Mul: (Integer, Integer) -> Integer |
>= | ~ | Ge: (Integer, Integer) -> Boolean |
-1 | ~ | UnaryMinus: (Integer) -> Integer |
| | ~ | Bwor: (Integer, Integer) -> Integer |
/ | ~ | Div: (Integer, Integer) -> Integer |
= | ~ | Eq: (Integer, Integer) -> Boolean |
~ | Bwxor: (Integer, Integer) -> Integer | |
|| | ~ | Lor: (Boolean, Boolean) -> Boolean |
! | ~ | Lnot: (Boolean) -> Boolean |
< | ~ | Lt: (Integer, Integer) -> Boolean |
- | ~ | Sub: (Integer, Integer) -> Integer |
<= | ~ | Le: (Integer, Integer) -> Boolean |
> | ~ | Gt: (Integer, Integer) -> Boolean |
~ | ~ | Bwnot: (Integer) -> Integer |
% | ~ | Mod: (Integer, Integer) -> Integer |
& | ~ | Bwand: (Integer, Integer) -> Integer |
+ | ~ | Add: (Integer, Integer) -> Integer |
&& | ~ | Land: (Boolean, Boolean) -> Boolean |
Integer, Boolean
(1) -> (0), if ((x0[1] + -1 →* x0[0])∧(x1[1] →* x1[0])∧(x2[1] →* x2[0]))
(0) -> (1), if ((x2[0] >= x1[0] && x2[0] < x0[0] + -1 →* TRUE)∧(x0[0] →* x0[1])∧(x1[0] →* x1[1])∧(x2[0] →* x2[1]))
(1) (COND_1262_0_MAIN_LE(TRUE, x0[1], x1[1], x2[1])≥NonInfC∧COND_1262_0_MAIN_LE(TRUE, x0[1], x1[1], x2[1])≥1262_0_MAIN_LE(+(x0[1], -1), x1[1], x2[1])∧(UIncreasing(1262_0_MAIN_LE(+(x0[1], -1), x1[1], x2[1])), ≥))
(2) ((UIncreasing(1262_0_MAIN_LE(+(x0[1], -1), x1[1], x2[1])), ≥)∧[(-1)bso_12] ≥ 0)
(3) ((UIncreasing(1262_0_MAIN_LE(+(x0[1], -1), x1[1], x2[1])), ≥)∧[(-1)bso_12] ≥ 0)
(4) ((UIncreasing(1262_0_MAIN_LE(+(x0[1], -1), x1[1], x2[1])), ≥)∧[(-1)bso_12] ≥ 0)
(5) ((UIncreasing(1262_0_MAIN_LE(+(x0[1], -1), x1[1], x2[1])), ≥)∧0 = 0∧0 = 0∧0 = 0∧[(-1)bso_12] ≥ 0)
(6) (&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1)))=TRUE∧x0[0]=x0[1]∧x1[0]=x1[1]∧x2[0]=x2[1] ⇒ 1262_0_MAIN_LE(x0[0], x1[0], x2[0])≥NonInfC∧1262_0_MAIN_LE(x0[0], x1[0], x2[0])≥COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])∧(UIncreasing(COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])), ≥))
(7) (>=(x2[0], x1[0])=TRUE∧<(x2[0], +(x0[0], -1))=TRUE ⇒ 1262_0_MAIN_LE(x0[0], x1[0], x2[0])≥NonInfC∧1262_0_MAIN_LE(x0[0], x1[0], x2[0])≥COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])∧(UIncreasing(COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])), ≥))
(8) (x2[0] + [-1]x1[0] ≥ 0∧x0[0] + [-2] + [-1]x2[0] ≥ 0 ⇒ (UIncreasing(COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])), ≥)∧[bni_13 + (-1)Bound*bni_13] + [(2)bni_13]x0[0] + [(-1)bni_13]x2[0] + [(-1)bni_13]x1[0] ≥ 0∧[2 + (-1)bso_14] ≥ 0)
(9) (x2[0] + [-1]x1[0] ≥ 0∧x0[0] + [-2] + [-1]x2[0] ≥ 0 ⇒ (UIncreasing(COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])), ≥)∧[bni_13 + (-1)Bound*bni_13] + [(2)bni_13]x0[0] + [(-1)bni_13]x2[0] + [(-1)bni_13]x1[0] ≥ 0∧[2 + (-1)bso_14] ≥ 0)
(10) (x2[0] + [-1]x1[0] ≥ 0∧x0[0] + [-2] + [-1]x2[0] ≥ 0 ⇒ (UIncreasing(COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])), ≥)∧[bni_13 + (-1)Bound*bni_13] + [(2)bni_13]x0[0] + [(-1)bni_13]x2[0] + [(-1)bni_13]x1[0] ≥ 0∧[2 + (-1)bso_14] ≥ 0)
(11) (x2[0] ≥ 0∧x0[0] + [-2] + [-1]x1[0] + [-1]x2[0] ≥ 0 ⇒ (UIncreasing(COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])), ≥)∧[bni_13 + (-1)Bound*bni_13] + [(2)bni_13]x0[0] + [(-2)bni_13]x1[0] + [(-1)bni_13]x2[0] ≥ 0∧[2 + (-1)bso_14] ≥ 0)
(12) (x2[0] ≥ 0∧x1[0] ≥ 0 ⇒ (UIncreasing(COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])), ≥)∧[(5)bni_13 + (-1)Bound*bni_13] + [bni_13]x2[0] + [(2)bni_13]x1[0] ≥ 0∧[2 + (-1)bso_14] ≥ 0)
(13) (x2[0] ≥ 0∧x1[0] ≥ 0∧x0[0] ≥ 0 ⇒ (UIncreasing(COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])), ≥)∧[(5)bni_13 + (-1)Bound*bni_13] + [bni_13]x2[0] + [(2)bni_13]x1[0] ≥ 0∧[2 + (-1)bso_14] ≥ 0)
(14) (x2[0] ≥ 0∧x1[0] ≥ 0∧x0[0] ≥ 0 ⇒ (UIncreasing(COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])), ≥)∧[(5)bni_13 + (-1)Bound*bni_13] + [bni_13]x2[0] + [(2)bni_13]x1[0] ≥ 0∧[2 + (-1)bso_14] ≥ 0)
POL(TRUE) = 0
POL(FALSE) = 0
POL(COND_1262_0_MAIN_LE(x1, x2, x3, x4)) = [-1] + [-1]x4 + [-1]x3 + [2]x2
POL(1262_0_MAIN_LE(x1, x2, x3)) = [1] + [2]x1 + [-1]x3 + [-1]x2
POL(+(x1, x2)) = x1 + x2
POL(-1) = [-1]
POL(&&(x1, x2)) = [-1]
POL(>=(x1, x2)) = [-1]
POL(<(x1, x2)) = [-1]
1262_0_MAIN_LE(x0[0], x1[0], x2[0]) → COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])
1262_0_MAIN_LE(x0[0], x1[0], x2[0]) → COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])
COND_1262_0_MAIN_LE(TRUE, x0[1], x1[1], x2[1]) → 1262_0_MAIN_LE(+(x0[1], -1), x1[1], x2[1])
!= | ~ | Neq: (Integer, Integer) -> Boolean |
* | ~ | Mul: (Integer, Integer) -> Integer |
>= | ~ | Ge: (Integer, Integer) -> Boolean |
-1 | ~ | UnaryMinus: (Integer) -> Integer |
| | ~ | Bwor: (Integer, Integer) -> Integer |
/ | ~ | Div: (Integer, Integer) -> Integer |
= | ~ | Eq: (Integer, Integer) -> Boolean |
~ | Bwxor: (Integer, Integer) -> Integer | |
|| | ~ | Lor: (Boolean, Boolean) -> Boolean |
! | ~ | Lnot: (Boolean) -> Boolean |
< | ~ | Lt: (Integer, Integer) -> Boolean |
- | ~ | Sub: (Integer, Integer) -> Integer |
<= | ~ | Le: (Integer, Integer) -> Boolean |
> | ~ | Gt: (Integer, Integer) -> Boolean |
~ | ~ | Bwnot: (Integer) -> Integer |
% | ~ | Mod: (Integer, Integer) -> Integer |
& | ~ | Bwand: (Integer, Integer) -> Integer |
+ | ~ | Add: (Integer, Integer) -> Integer |
&& | ~ | Land: (Boolean, Boolean) -> Boolean |
Integer
!= | ~ | Neq: (Integer, Integer) -> Boolean |
* | ~ | Mul: (Integer, Integer) -> Integer |
>= | ~ | Ge: (Integer, Integer) -> Boolean |
-1 | ~ | UnaryMinus: (Integer) -> Integer |
| | ~ | Bwor: (Integer, Integer) -> Integer |
/ | ~ | Div: (Integer, Integer) -> Integer |
= | ~ | Eq: (Integer, Integer) -> Boolean |
~ | Bwxor: (Integer, Integer) -> Integer | |
|| | ~ | Lor: (Boolean, Boolean) -> Boolean |
! | ~ | Lnot: (Boolean) -> Boolean |
< | ~ | Lt: (Integer, Integer) -> Boolean |
- | ~ | Sub: (Integer, Integer) -> Integer |
<= | ~ | Le: (Integer, Integer) -> Boolean |
> | ~ | Gt: (Integer, Integer) -> Boolean |
~ | ~ | Bwnot: (Integer) -> Integer |
% | ~ | Mod: (Integer, Integer) -> Integer |
& | ~ | Bwand: (Integer, Integer) -> Integer |
+ | ~ | Add: (Integer, Integer) -> Integer |
&& | ~ | Land: (Boolean, Boolean) -> Boolean |
Boolean, Integer
(1) -> (0), if ((x0[1] + -1 →* x0[0])∧(x1[1] →* x1[0])∧(x2[1] →* x2[0]))
(3) -> (0), if ((x0[3] →* x0[0])∧(x1[3] + -1 →* x1[0])∧(x2[3] →* x2[0]))
(0) -> (1), if ((x2[0] >= x1[0] && x2[0] < x0[0] + -1 →* TRUE)∧(x0[0] →* x0[1])∧(x1[0] →* x1[1])∧(x2[0] →* x2[1]))
!= | ~ | Neq: (Integer, Integer) -> Boolean |
* | ~ | Mul: (Integer, Integer) -> Integer |
>= | ~ | Ge: (Integer, Integer) -> Boolean |
-1 | ~ | UnaryMinus: (Integer) -> Integer |
| | ~ | Bwor: (Integer, Integer) -> Integer |
/ | ~ | Div: (Integer, Integer) -> Integer |
= | ~ | Eq: (Integer, Integer) -> Boolean |
~ | Bwxor: (Integer, Integer) -> Integer | |
|| | ~ | Lor: (Boolean, Boolean) -> Boolean |
! | ~ | Lnot: (Boolean) -> Boolean |
< | ~ | Lt: (Integer, Integer) -> Boolean |
- | ~ | Sub: (Integer, Integer) -> Integer |
<= | ~ | Le: (Integer, Integer) -> Boolean |
> | ~ | Gt: (Integer, Integer) -> Boolean |
~ | ~ | Bwnot: (Integer) -> Integer |
% | ~ | Mod: (Integer, Integer) -> Integer |
& | ~ | Bwand: (Integer, Integer) -> Integer |
+ | ~ | Add: (Integer, Integer) -> Integer |
&& | ~ | Land: (Boolean, Boolean) -> Boolean |
Integer, Boolean
(1) -> (0), if ((x0[1] + -1 →* x0[0])∧(x1[1] →* x1[0])∧(x2[1] →* x2[0]))
(0) -> (1), if ((x2[0] >= x1[0] && x2[0] < x0[0] + -1 →* TRUE)∧(x0[0] →* x0[1])∧(x1[0] →* x1[1])∧(x2[0] →* x2[1]))
(1) (COND_1262_0_MAIN_LE(TRUE, x0[1], x1[1], x2[1])≥NonInfC∧COND_1262_0_MAIN_LE(TRUE, x0[1], x1[1], x2[1])≥1262_0_MAIN_LE(+(x0[1], -1), x1[1], x2[1])∧(UIncreasing(1262_0_MAIN_LE(+(x0[1], -1), x1[1], x2[1])), ≥))
(2) ((UIncreasing(1262_0_MAIN_LE(+(x0[1], -1), x1[1], x2[1])), ≥)∧[1 + (-1)bso_9] ≥ 0)
(3) ((UIncreasing(1262_0_MAIN_LE(+(x0[1], -1), x1[1], x2[1])), ≥)∧[1 + (-1)bso_9] ≥ 0)
(4) ((UIncreasing(1262_0_MAIN_LE(+(x0[1], -1), x1[1], x2[1])), ≥)∧[1 + (-1)bso_9] ≥ 0)
(5) ((UIncreasing(1262_0_MAIN_LE(+(x0[1], -1), x1[1], x2[1])), ≥)∧0 = 0∧0 = 0∧0 = 0∧[1 + (-1)bso_9] ≥ 0)
(6) (&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1)))=TRUE∧x0[0]=x0[1]∧x1[0]=x1[1]∧x2[0]=x2[1] ⇒ 1262_0_MAIN_LE(x0[0], x1[0], x2[0])≥NonInfC∧1262_0_MAIN_LE(x0[0], x1[0], x2[0])≥COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])∧(UIncreasing(COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])), ≥))
(7) (>=(x2[0], x1[0])=TRUE∧<(x2[0], +(x0[0], -1))=TRUE ⇒ 1262_0_MAIN_LE(x0[0], x1[0], x2[0])≥NonInfC∧1262_0_MAIN_LE(x0[0], x1[0], x2[0])≥COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])∧(UIncreasing(COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])), ≥))
(8) (x2[0] + [-1]x1[0] ≥ 0∧x0[0] + [-2] + [-1]x2[0] ≥ 0 ⇒ (UIncreasing(COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])), ≥)∧[(-1)bni_10 + (-1)Bound*bni_10] + [bni_10]x0[0] + [(-1)bni_10]x2[0] ≥ 0∧[(-1)bso_11] ≥ 0)
(9) (x2[0] + [-1]x1[0] ≥ 0∧x0[0] + [-2] + [-1]x2[0] ≥ 0 ⇒ (UIncreasing(COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])), ≥)∧[(-1)bni_10 + (-1)Bound*bni_10] + [bni_10]x0[0] + [(-1)bni_10]x2[0] ≥ 0∧[(-1)bso_11] ≥ 0)
(10) (x2[0] + [-1]x1[0] ≥ 0∧x0[0] + [-2] + [-1]x2[0] ≥ 0 ⇒ (UIncreasing(COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])), ≥)∧[(-1)bni_10 + (-1)Bound*bni_10] + [bni_10]x0[0] + [(-1)bni_10]x2[0] ≥ 0∧[(-1)bso_11] ≥ 0)
(11) (x2[0] ≥ 0∧x0[0] + [-2] + [-1]x1[0] + [-1]x2[0] ≥ 0 ⇒ (UIncreasing(COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])), ≥)∧[(-1)bni_10 + (-1)Bound*bni_10] + [bni_10]x0[0] + [(-1)bni_10]x1[0] + [(-1)bni_10]x2[0] ≥ 0∧[(-1)bso_11] ≥ 0)
(12) (x2[0] ≥ 0∧x1[0] ≥ 0 ⇒ (UIncreasing(COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])), ≥)∧[bni_10 + (-1)Bound*bni_10] + [bni_10]x1[0] ≥ 0∧[(-1)bso_11] ≥ 0)
(13) (x2[0] ≥ 0∧x1[0] ≥ 0∧x0[0] ≥ 0 ⇒ (UIncreasing(COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])), ≥)∧[bni_10 + (-1)Bound*bni_10] + [bni_10]x1[0] ≥ 0∧[(-1)bso_11] ≥ 0)
(14) (x2[0] ≥ 0∧x1[0] ≥ 0∧x0[0] ≥ 0 ⇒ (UIncreasing(COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])), ≥)∧[bni_10 + (-1)Bound*bni_10] + [bni_10]x1[0] ≥ 0∧[(-1)bso_11] ≥ 0)
POL(TRUE) = 0
POL(FALSE) = 0
POL(COND_1262_0_MAIN_LE(x1, x2, x3, x4)) = [-1] + [-1]x4 + x2
POL(1262_0_MAIN_LE(x1, x2, x3)) = [-1] + x1 + [-1]x3
POL(+(x1, x2)) = x1 + x2
POL(-1) = [-1]
POL(&&(x1, x2)) = 0
POL(>=(x1, x2)) = [1]
POL(<(x1, x2)) = [-1]
COND_1262_0_MAIN_LE(TRUE, x0[1], x1[1], x2[1]) → 1262_0_MAIN_LE(+(x0[1], -1), x1[1], x2[1])
1262_0_MAIN_LE(x0[0], x1[0], x2[0]) → COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])
1262_0_MAIN_LE(x0[0], x1[0], x2[0]) → COND_1262_0_MAIN_LE(&&(>=(x2[0], x1[0]), <(x2[0], +(x0[0], -1))), x0[0], x1[0], x2[0])
!= | ~ | Neq: (Integer, Integer) -> Boolean |
* | ~ | Mul: (Integer, Integer) -> Integer |
>= | ~ | Ge: (Integer, Integer) -> Boolean |
-1 | ~ | UnaryMinus: (Integer) -> Integer |
| | ~ | Bwor: (Integer, Integer) -> Integer |
/ | ~ | Div: (Integer, Integer) -> Integer |
= | ~ | Eq: (Integer, Integer) -> Boolean |
~ | Bwxor: (Integer, Integer) -> Integer | |
|| | ~ | Lor: (Boolean, Boolean) -> Boolean |
! | ~ | Lnot: (Boolean) -> Boolean |
< | ~ | Lt: (Integer, Integer) -> Boolean |
- | ~ | Sub: (Integer, Integer) -> Integer |
<= | ~ | Le: (Integer, Integer) -> Boolean |
> | ~ | Gt: (Integer, Integer) -> Boolean |
~ | ~ | Bwnot: (Integer) -> Integer |
% | ~ | Mod: (Integer, Integer) -> Integer |
& | ~ | Bwand: (Integer, Integer) -> Integer |
+ | ~ | Add: (Integer, Integer) -> Integer |
&& | ~ | Land: (Boolean, Boolean) -> Boolean |
Boolean, Integer
!= | ~ | Neq: (Integer, Integer) -> Boolean |
* | ~ | Mul: (Integer, Integer) -> Integer |
>= | ~ | Ge: (Integer, Integer) -> Boolean |
-1 | ~ | UnaryMinus: (Integer) -> Integer |
| | ~ | Bwor: (Integer, Integer) -> Integer |
/ | ~ | Div: (Integer, Integer) -> Integer |
= | ~ | Eq: (Integer, Integer) -> Boolean |
~ | Bwxor: (Integer, Integer) -> Integer | |
|| | ~ | Lor: (Boolean, Boolean) -> Boolean |
! | ~ | Lnot: (Boolean) -> Boolean |
< | ~ | Lt: (Integer, Integer) -> Boolean |
- | ~ | Sub: (Integer, Integer) -> Integer |
<= | ~ | Le: (Integer, Integer) -> Boolean |
> | ~ | Gt: (Integer, Integer) -> Boolean |
~ | ~ | Bwnot: (Integer) -> Integer |
% | ~ | Mod: (Integer, Integer) -> Integer |
& | ~ | Bwand: (Integer, Integer) -> Integer |
+ | ~ | Add: (Integer, Integer) -> Integer |
&& | ~ | Land: (Boolean, Boolean) -> Boolean |
Integer